Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.8 to CI #11023

Merged
merged 9 commits into from
Jan 13, 2021
Merged

Add Python 3.8 to CI #11023

merged 9 commits into from
Jan 13, 2021

Conversation

Eric-Arellano
Copy link
Contributor

No description provided.

.travis.yml Outdated Show resolved Hide resolved
# Conflicts:
#	.travis.yml
#	build-support/bin/generate_travis_yml.py
# Conflicts:
#	.travis.yml
#	build-support/bin/generate_travis_yml.py
# Conflicts:
#	.travis.yml
#	build-support/bin/generate_travis_yml.py
# Conflicts:
#	.travis.yml
#	build-support/bin/generate_travis_yml.py

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano changed the title WIP: Add Python 3.8 to CI Add Python 3.8 to CI Jan 13, 2021
@Eric-Arellano Eric-Arellano marked this pull request as ready for review January 13, 2021 15:31
Comment on lines 153 to 156
object_docstring = object.__doc__
assert object_docstring is not None
assert (
get_docstring(FallbackToObject, fallback_to_ancestors=True, ignored_ancestors=[])
== object.__doc__
get_docstring(FallbackToObject, fallback_to_ancestors=True, ignored_ancestors=[]) == object_docstring.rstrip()
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On 3.8, there's an extra \n in the docstring for object. MyPy complained that __doc__ is Optional, so we need to make MyPy happy.

@Eric-Arellano
Copy link
Contributor Author

Green CI run of 3.8: https://travis-ci.com/github/pantsbuild/pants/builds/212945548. The only failure is from MyPy, which I fixed in the recent push and I'm assuming will be the same error regardless of 3.7 vs. 3.8.

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@Eric-Arellano Eric-Arellano merged commit f534713 into pantsbuild:master Jan 13, 2021
@Eric-Arellano Eric-Arellano deleted the py38 branch January 13, 2021 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants